<template>
  <div>
    <ElButton type="danger" @click="just()">JustSo</ElButton>
  </div>
</template>
<script lang="ts">
/**
 * 页面核心数据结构体说明文档
 *
 *
 */
// import from
// import axios from "axios";
// import { axios } from '@/plugins/axios'
import { lodash } from '@/plugins/lodash'
export default {
  name: 'JustSo',
  props: {
    sampleP: {
      type: Number,
      default: 0
    }
  },
  data() {
    return {
      sampleD: 'value'
    }
  },
  computed: {
    /* sampleC() {
      return this.sampleD + "--";
    }, */
  },
  created() {},
  mounted() {},
  methods: {
    // sampleM() {},
    just() {
      const a = [2, 3, 4, 5]
      const b = [3, 4, 5, 6]
      const c = lodash.intersection(a, b)
      console.log(c)
      console.log('axios test')
      console.log(axios({}))

      //   axios({
      //     method:"xxx",
      //     url:"xxx",
      //     data
      //   })
    }
  },
  watch: {
    // sampleP(n, o) {},
  }
}
</script>

<!--<style scoped>-->
<style lang="scss" scoped></style>
